import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import Vant, { Lazyload } from 'vant'
import VCharts from 'v-charts'

import global from './utils/websocket.js'
import 'vant/lib/index.css'
import 'animate.css'
import './styles/global.css'
import permission from './utils/permission'
import store from './store'
Vue.prototype.$global = global
Vue.use(Vant)
Vue.use(Lazyload)
Vue.use(VCharts)

Vue.config.productionTip = false
new Vue({
  router,
  permission,
  store,
  render: h => h(App)
}).$mount('#app')
